<%@page contentType="text/html;charset=utf-8" language="java" %>

<!DOCTYPE html>
<html>
<%
String regionId = (String)request.getParameter("regionId");
String regionName = (String)request.getParameter("regionName");
if( regionId != null ){
	regionId=Base64.decode(regionId);
}else{
	regionId = "";
}

if( regionName == null ){
	regionName = "";
}
%>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<%@include file="../common/jsp/common.jsp"%>
<title><%=InitParam.DEPLOY_PROVINCE_TITLE%></title>

<script>
var in_regionId = '<%=regionId%>';
var in_regionName = '<%=regionName%>';
if( in_regionName != null && in_regionName.length != 0 ){
	in_regionName = decodeURIComponent(in_regionName);
}
	requires(["laydate","echarts","customselect", "zhly","/zhly/portrait_tourist.js"]);
</script>

</head>
<body class="gry_bg">
<div class="select_top">
	<a class="but_backa" onclick="history.go(-1)"></a>
	<div class="select_pre">
		<span>区域</span>
		<p id="citySelect" class="hasCitySelect"><span id="citySelectSpan"></span><b class="click_arrow"></b></p>
		<ul class="select_content" id="cityListInfo">
		</ul>
	</div>

	<div class="select_pre">
		<span>景区类型</span>
		<p id="regionTypleSelect" class="hasRegionTypleSelect"><span id="regionTypleSpan"></span><b class="click_arrow"></b></p>
		<ul id="regionTypleInfo" class="select_content">
		</ul>
	</div>

	<div class="select_pre">
		<span style="margin-right: 24px;">景区</span>
		<div id="divselect" class="divselect">
		<input id="divselectInput" type="text" value="搜索景区，请输入名称" focusstatus="true" class="hasRegionList">
		<ul style="width: 140px;margin-top: 2px;" id="RegionListInfo" class="select_content">
		</ul>
		</div>
		<input id="inputselect" value="" style="display: none">
		<select id="selectId" style="display: none;"></select>
	</div>
	<div class="select_pre select_date">
		<input  checked="checked"  type="radio" name="dataTimeType" value="day" />
		<b>日</b>
		<input  type="radio" name="dataTimeType" value="month"/>
		<b>月</b>
	</div>
	<div class="select_pre" id="dateTime">
		<span>统计时间</span>
		 <div id="dayStartDiv" style="border: 1px solid #e8e8e8; float: left; margin-left: 6px;margin-top: 0px;">
		  <input style="height: 28px;width:96px;line-height:28px;border: 0px;color: #c6c6c6;padding-left:6px;" type="text" id="dayStart" />
		  <label for="dayStart"><b class="calendar"></b></label>
 		</div>
 		<div id="monthStartDiv" style="border: 1px solid #e8e8e8; float: left; margin-left: 6px;margin-top: 0px;display: none;">
		  <input style="height: 28px;width:96px;line-height:28px;border: 0px;color: #c6c6c6;padding-left:6px;" name="" type="text" id="monthStart" />
		  <label for="monthStart"><b class="calendar"></b></label>
 		</div>
	</div>

	<!-- <div class="select_pre">
		<span>结束时间</span>
		<p>2016-04-29<b class="calendar"></b></p>
	</div> -->

	<button type="submit" class="select_button" onclick="queryAll();">查 询</button>
</div>
<!-- <ul class="behavior_search">
	<li class="li_on">上网行为分析</li>
	<li>上网搜索分析</li>
</ul> -->

<ul class="chart_struct">
	<li class="li1 age_add">
		<p class="p_title">年龄分析</p>
		<div id="ageLevel">
			<p class="age_addp1" id="middle"></p>
			<p class="age_addp2" id="small"></p>
			<p class="age_addp3" id="large"></p>
		</div>
	</li>
	<li class="li2 sex_add">
		<p class="p_title">性别分析</p>
		<div>
			<p class="sex_addp1" id="maleCount"></p>
			<p class="sex_addp2" id="femaleCount"></p>
		</div>
	</li>
	<li class="">
	    <p class="p_title">户籍地分析</p>
		<div id="stayLevelBar"  style="height:100%;width:100%;margin-top: -30px;"></div>
	</li>
</ul>

<ul class="chart_struct">
	<li class="">
		<p class="p_title">消费能力</p>
		<div id="consumeLevelBarCharts" style="height:100%;width:100%;margin-top: -30px;"></div>
	</li>
	<li class="">
		<p class="p_title">手机品牌分析</p>
		<div id="deviceNamePieCharts" style="height:100%;width:100%;margin-top: -30px;"></div>
	</li>
</ul>

</body>
</html>

